<?php
/*
 * 推荐页面, 默认页面, 首页
 * @package    auto
 * @author     Mark
 * @copyright  Copyright (c) 2013 ixdcw team
 * @version    $Id: ceff629f7dca7de9d7a3f06fd7f611aa816735ee $
 */
defined('IN_IXDCW') or exit('Access Denied');

$search = new AutoSearchModule();
$search->addSel('l', 0);
$search->addSel('p', 0);
$search->addSel('e', 0);
$search->addSel('m', 0);
$search->addSel('g', 0);
$search->addSel('o', 0);
$params = $search->getParams();


$passengerHot  = AutoCategory::suggest(AutoCategory::LEVEL_PASSANGER, 10, AutoCategory::SUGGEST_HOT);
$passengerNew  = AutoCategory::suggest(AutoCategory::LEVEL_PASSANGER, 10, AutoCategory::SUGGEST_NEW);

$commercialHot = AutoCategory::suggest(AutoCategory::LEVEL_COMMERCIAL, 10, AutoCategory::SUGGEST_HOT);
$commercialNew = AutoCategory::suggest(AutoCategory::LEVEL_COMMERCIAL, 10, AutoCategory::SUGGEST_NEW);

$rvHot         = AutoCategory::suggest(AutoCategory::LEVEL_RV, 10, AutoCategory::SUGGEST_HOT);
$rvNew         = AutoCategory::suggest(AutoCategory::LEVEL_RV, 10, AutoCategory::SUGGEST_NEW);



include template('index', $module);